home *** CD-ROM | disk | FTP | other *** search
/ Oh!X 2000 Spring / Oh!X 2000 Spring Special CD-ROM (Japan) (Part 1).7z / Oh!X 2000 Spring Special CD-ROM (Japan) (Part 1).bin / F2JW / trans / score.h < prev    next >
Text File  |  1998-12-13  |  2KB  |  72 lines

  1. //
  2. // 日本語訳の評価
  3. //
  4. #define    SCORE_MAKE_SENTENCE             50
  5. #define SCORE_SENTENCE_PPRESENT         40
  6. #define    SCORE_EMPHASIS_SENTENCE         30
  7. // SCORE_PASSIVE_SUBJECTよりは、高くしないと
  8. // Nous sommes passe{.
  9. // 私達は運ばれた < 私達は通り過ぎた
  10. #define    SCORE_COMPOSE_C                 30
  11. #define    SCORE_PASSIVE_SUBJECT         15
  12. #define    SCORE_MORE_THAN                 30
  13. #define    SCORE_MOST_AMONG             40
  14. #define    SCORE_MAKE_ORDER             30
  15. #define    SCORE_VERB_SVOA                 30
  16. #define    SCORE_SELECT_VERB             10
  17. #define    SCORE_SELECT_PREPOSITION      0
  18. #define    SCORE_SELECT_ADVERB              1
  19. #define    SCORE_SELECT_ADJECTIVE          2
  20. #define    SCORE_COMMA_COMBINE            -10
  21.  
  22. #define    SCORE_NUMERIC_UNIT              10
  23. // ne V point, ne V pasなど、たいていは、動詞と目的語の間に来る
  24. // - SCORE_INSERTED_ADVERB より高いこと
  25. #define    SCORE_VERB_NEGATIVE_ADVERB     20
  26. // SCORE_INSERTED_ADVERB より低いこと
  27. // (Il est juste) dix heures -> Il est (juste) dix heures.
  28. #define    SCORE_VERB_STRANGE_OBJECT    -30
  29. // SCORE_SELECT_VERBより高くないと
  30. #define SCORE_INSERTED_ADVERB        -20
  31. #define SCORE_INSERTED_PREPOSITION    -20
  32. // J'ai cri{ vers vous, Seigner, <de> fond. 奥の貴方 ->奥から貴方に叫んだ
  33. #define    SCORE_SPILIT_PREPOSITION    -20
  34.  
  35. // SCORE_MOST_AMONGより大きいこと    eg.) ~の中で、~の中で、彼は一番大きい
  36. #define SCORE_SAME_CHILD            -50
  37. #define    SCORE_NOUN_PREPOSITION          3
  38.  
  39. // 強勢形を用いた強調構文            eg) Moi, je le sais.
  40. // Noun, ce S + V を用いた強調構文    eg) Ce tableau, ce est du Delacroix.
  41. #define    SCORE_SENTENCE_EMPHASIS_NOUN  10
  42.  
  43. // SCORE_INSERATED_ADVERBより不自然だよなぁ
  44. #define    SCORE_SENTENCE_ADJECTIVE     -40
  45. // 名詞+動詞の過去分詞より、名詞+形容詞が自然
  46. // les jours suivants
  47. // 付いて来る日 < 次の日
  48. #define    SCORE_NOUN_ADJECTIVE          5
  49.  
  50. // Noun + Prep + Nounの熟語
  51. // SCORE_VERB_PREPOSITIONより高いこと
  52. // eg) Je boit du caf{ au lait.
  53. // ミルクに、私はコーヒーを飲んだ -> 私はカフェオレを飲んだ
  54. #define    SCORE_NOUN_PREP_NOUN_IDEUM     30
  55.  
  56. // JP_HINT_HUMAN違反 eg) 宝石は話す
  57. #define    SCORE_STRANGE_SUBJECT         -5
  58. #define    SCORE_VERB_PREPOSITION         10
  59.  
  60. // (time , S) + V より高いこと -> (time), S + V
  61. #define SCORE_SENTENCE_NOUN             10
  62.  
  63. // 形容詞の名詞化
  64. // eg) Donnez @ ce petit (homme) quoi de manger.
  65. #define    SCORE_ADJECTIVE_TO_NOUN        -20
  66.  
  67. #define    SCORE_NO_ARTICLE_NOUN        -10
  68. #define    SCORE_CONJUNCTION_ONLY        -30
  69. #define    SCORE_ROOT_SENTENCE            -100
  70. #define    SCORE_UNCLEAR_WORD            -300
  71.  
  72.